package com.wc.alorithm_blue_bridge_history.simulation_match3.D;

import java.math.BigInteger;
import java.util.Arrays;

/**
 * @Author congge
 * @Date 2024/3/8 15:09
 * @description
 *
 * https://www.lanqiao.cn/problems/16571/learning/?problem_list_id=29&page=1
 */
public class Main {
    public static void main(String[] args) {
        String s = "12345678901234567890123456789012345678901234567890";
        BigInteger num = new BigInteger(s);
        System.out.println(num.mod(new BigInteger("2023")));
        System.out.println(Arrays.toString(num.divideAndRemainder(new BigInteger("2023"))));
    }
}
